package com.gadgets.busi.bm02.service;

import com.gadgets.busi.bm02.pojo.MaterialRecipe;
import com.gadgets.framework.common.exception.GadgetsServiceException;

import java.io.IOException;
import java.util.List;

/**
 * @author UncleXiu
 * @version V1.0.0
 * @data 2020-12-16
 * 
 */
public interface IMaterialAnalysisService {

    /**
     * 合成权分析任务
     * @throws GadgetsServiceException  异常信息
     */
    void analysisBuildWeight() throws GadgetsServiceException, InterruptedException;

    /**
     * 合成表权值计算模型
     * @param recipeList    合成表信息
     * @return              应答信息
     */
    Double recipeWeightModuel(List<MaterialRecipe> recipeList) throws IOException;

}
